package com.zhiyou.service;

import com.zhiyou.entity.House;
import com.zhiyou.entity.Logistics;
import com.zhiyou.entity.Record;

import java.util.List;

public interface RecordService {

    List<Record> getAllRecord();

    List<Record> getAll2();

    List<Record> selectRecordByHouseRoom(House house);

    List<Logistics> getAllLogistics();

    void addRecord(Record record);

    Logistics getLogisticsByName(String name);

    House getHouseByHouseRoomno(String roomno);

    Record getRecordById(Integer id);

    void updateRecordById(Record record);

    List<Record> getRecordsRetimeOrHouseAreaOrLoName(String string);


    void deleteRecordById(Record record);
}
